package com.luanye.enjoy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.luanye.enjoy.dto.DynamicDTO;
import com.luanye.enjoy.entity.Dynamic;
import com.luanye.enjoy.vo.RespBean;


public interface DynamicService extends IService<Dynamic> {

    RespBean publish(DynamicDTO dto);

    RespBean like(Integer id);

    RespBean queryHotDynamic(Integer current);

    RespBean queryDynamicById(Integer id);

    RespBean getMyDynamic();

    RespBean getDynamicByTopic(Integer topicId);

    RespBean deleteById(Integer id);

    RespBean queryBlogOfFollow(Long max, Integer offset);
}
